Skip to content

fix: Copilot review for #100 (min_max, bench docs, GooseFS, FFI) - #102

Merged
lukekim merged 1 commit into
spiceai-0.86from
lukekim/spiceai-0.86-pr-fix-20260924
Sep 24, 2026
Merged

lukekim merged 1 commit into
spiceai-0.86from
lukekim/spiceai-0.86-pr-fix-20260924

Conversation

@lukekim

@lukekim lukekim commented Sep 24, 2026

Copy link
Copy Markdown

Summary

Addresses the 4 unresolved Copilot threads on #100.

  • Union min_max: return unsupported-type VortexResult error (no todo!/panic)
  • Vortex SQL bench README: document 2.5B-row / 3-col table + range query
  • Expose GoosefsStore on vortex.file.open / _lib/file.pyi
  • Restore vx_session_clone ownership/lifecycle note in FFI docs

Landed via nested PR because enterprise ruleset blocks direct pushes to spiceai-*.

Test plan

…I docs

- Return VortexResult unsupported-type error for Union min_max (no todo!/panic)
- Document 2.5B-row three-column vortex SQL bench + range query
- Expose GoosefsStore on vortex.file.open / _lib/file.pyi like CosStore
- Restore vx_session_clone ownership/lifecycle note for generated C API docs
Copilot AI balanced review requested due to automatic review settings September 24, 2026 22:10
@lukekim
lukekim merged commit 17fd97d into spiceai-0.86 Sep 24, 2026
38 of 47 checks passed
@lukekim
lukekim deleted the lukekim/spiceai-0.86-pr-fix-20260924 branch September 24, 2026 22:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The generated FFI header is stale, the benchmark description is inaccurate, and Union error behavior lacks regression coverage.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity · 1 Low severity

Open (3)
What changed in this PR

Addresses four unresolved review findings from PR #100 across aggregation, benchmarks, Python bindings, and FFI documentation.

Changes:

  • Replaces Union min_max panic with an unsupported-type error.
  • Documents benchmark scale and exposes GoosefsStore to file APIs.
  • Clarifies cloned FFI session ownership.

Checks: Review only; no tests executed.

File Description
vortex-array/​src/​aggregate_fn/​fns/​min_max/​mod.rs Handles unsupported Union aggregation without panicking.
vortex-bench/​sql/​vortex/​README.md Documents benchmark data and range query.
vortex-python/​python/​vortex/​file.py Adds GoosefsStore to the public file API annotation.
vortex-python/​python/​vortex/​_lib/​file.pyi Adds GoosefsStore to the native stub.
vortex-ffi/​src/​session.rs Documents cloned-session ownership.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread vortex-ffi/src/session.rs
Comment on lines +37 to +39
/// Clone a Vortex session, returning an owned copy.
///
/// The caller is responsible for freeing the session with [`vx_session_free`].
Comment on lines +420 to +421
Canonical::Union(_)
| Canonical::Struct(_)
Comment on lines +15 to +16
- [`2_sum-range.sql`](./2_sum-range.sql): a range filter on `id` that should prune most
zone maps and only fully decode the two zones that overlap the bounds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants